package com.hsq.ndmall.promotion.feign;

import com.hsq.ndmall.common.utils.R;
import io.swagger.annotations.ApiOperation;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @author 黄四清
 * @version 1.0.0
 * @ClassName OrderFeign.java
 * @Description TODO
 * @createTime 2021年09月04日 14:29:00
 */
@FeignClient(value = "order-service")
public interface OrderFeign {
    // 根据ID查询订单
    @GetMapping("order/order/info/{id}")
    R info(@PathVariable("id") Integer id);
}
